SET( EXAMPLE_NAME erepHelper )
SET( EXAMPLE_FILES
     main.cpp
     GlobalSettings.cpp
     Communicator.cpp
     TabFrame.cpp
     Monitor.cpp
     HistoryViewer.cpp
     SystemWidget.cpp
     Updater.cpp
     Dispatcher.cpp
     DetailViewer.cpp
)

QT4_WRAP_CPP( MOC_FILES
              Communicator.h
              TabFrame.h
              Monitor.h
              HistoryViewer.h
              SystemWidget.h
              Updater.h
              Dispatcher.h
              DetailViewer.h
)

QT4_ADD_RESOURCES( RES_FILES
                   resource.qrc
)

INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR} )
ADD_EXECUTABLE( ${EXAMPLE_NAME} ${EXAMPLE_FILES} ${MOC_FILES} ${RES_FILES} )
TARGET_LINK_LIBRARIES( ${EXAMPLE_NAME}
                       ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}
                       ${QT_QTNETWORK_LIBRARY} ${QT_QTWEBKIT_LIBRARY} )
INSTALL_PROJECT( ${EXAMPLE_NAME} )
